<ion-view >
  <ion-header-bar  class="bar-calm" ng-controller="AllCtrl" align-title="center">
    <div class="buttons">
      <button class="button button-clear" ng-click="gotoback()"><i class="icon ion-chevron-left"></i></button>
    </div>
    <h1 class="title"><span style="font-size: 1.3rem">登录</span></h1>
  </ion-header-bar>
  <ion-content class="has-header" ng-controller="LoginCtrl">
    <label class="item item-input">
      <i class="icon ion-person placeholder-icon"></i>
      <span class="input-label">用户名：</span>
      <input type="text" placeholder="输入用户账号" ng-model="userName">
    </label>
    <label class="item item-input">
      <i class="icon ion-locked placeholder-icon"></i>
      <span class="input-label">密码：</span>
      <input type="password" placeholder="输入用户密码" ng-model="passWord">
    </label>
      <div  class="loginUnder">
        <a href="#/regist" class="floatLoginL">注册账号</a>
        <a href="" class="floatLoginR">忘记密码?</a>
      </div>
      <button class="button button-full button-calm" ng-click="login()">登陆</button>

  </ion-content>
</ion-view>
